package com.fjnuvg.videoplayer;

import com.fjnuvg.videoplayer.lxc.MainActivity;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class Spash extends Activity {

	private Button go_bt;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_spash);
		go_bt = (Button)findViewById(R.id.go);
		go_bt.setOnClickListener(new Buttonlistener());
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.spash, menu);
		return true;
	}
	class Buttonlistener implements OnClickListener{

		@Override
		public void onClick(View arg0) {
			// TODO Auto-generated method stub
			Intent intent = new Intent(Spash.this,MainActivity.class);
			Spash.this.startActivity(intent);
		}
		
		
	}

}
